package com.wzk.travelspringboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @Author: WangZiKang
 * @Date: 2025/1/19 16:16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_ticket_order")
public class TicketOrder extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private String orderNumber;

    private Integer number;

    private Long scenicId;

    private Long userId;

    private String tCode;

    private Integer state;

    private Boolean used;

    private Double totalAmount;

}
